<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>顾客列表</title>
</head>
<body>
<div th:include="/back/common/css_js :: main"></div>
<div th:include="back/common/header :: main"></div>
<div class="container">
    <table class="table">
        <thead>
        <tr>
            <th>ID</th>
            <td>房间号</td>
            <td>顾客姓名</td>
            <td>电话号码</td>
            <td>预入住日期</td>
            <td>操作</td>
        </tr>
        </thead>
        <tbody>
        <tr th:each="orders:${orders}">
            <td th:text="${orders.id}"></td>
            <td th:text="${orders.houseId}"></td>
            <td th:text="${orders.cname}"></td>
            <td th:text="${orders.mobile}"></td>
            <td th:text="${orders.preCheckinTime}"></td>
            <td>
                <a th:href="@{/intake/customer/message}" class="btn btn-primary btn-sm">入住</a>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</body>